<template>
  <div class="page-404">
    <el-result icon="error" title="404 NOT FOUND" subTitle="页面不存在,请返回">
      <template slot="extra">
        <el-button type="primary" size="medium" @click="back">返回</el-button>
      </template>
    </el-result>
  </div>
</template>

<script>
export default {
  methods: {
    back () {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="less" scoped>
.page-404 {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>